<?php

/**
* logout.php
*
* @version 0.1a
* @copyright 2010 by badboy for BadNova
*/

define('INSIDE'  , true);
define('INSTALL' , false);

$badnova_root_path = './';
include($badnova_root_path . 'extension.inc');
include($badnova_root_path . 'common.'.$phpEx);
header( "refresh: 5; url=index.php"); 

includeLang('logout');

unset($_SESSION[USER_SESSION]);

message($lang['see_you'], $lang['session_closed'], "login.".$phpEx);

// -----------------------------------------------------------------------------------------------------------
// History version
// 0.1a - Mise au propre
?>